/*********************\
* Author:Dzlua
* QQ:505544956
* Time:2017/04/15
\**********************/
#ifndef __LUA_IPADDRESS_H__
#define __LUA_IPADDRESS_H__
#pragma once

#include "../Text/LuaLabel.h"

namespace DuiLib {

class LuaIPAddress : public LuaLabel
{
    SDLUA_CLASS_DECLARE(LuaIPAddress);

    DWORD GetIP();
    void SetIP(DWORD dwIP);

    void SetReadOnly(bool bReadOnly);
    bool IsReadOnly();

    void UpdateText();
};

}

#endif //__LUA_IPADDRESS_H__